package com.jbit.examSystem.service;

import com.jbit.examSystem.dto.UserDto;
import com.jbit.examSystem.exception.LoginErrorException;
import com.jbit.examSystem.pojo.Administrator;

import java.util.Date;

public interface AdminService {

    Administrator login(UserDto userDto) throws LoginErrorException;

    void setLoginTime(Date loginTime, Integer id, Date lastLoginTime);
}
